package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "service-user")
public interface UserInfoFeignClient {

    //查询当前用户的所有收货地址
    @GetMapping("/api/user/passport/getUserAddress")
    public List<UserAddress> getUserAddress();
}
